
export ARCH=arm
export CROSS_COMPILE=arm-linux-gnueabihf-

LINUX_ROOT = /home/liang/work/rd1/liang/imx-zlg/kernel/A7-linux-src

obj-m := regctl.o

EXTRA_CFLAGS+=-I$(PWD)/..


default:
	make -C $(LINUX_ROOT) M=$(PWD) modules 
clean: 
	make -C $(LINUX_ROOT) M=$(PWD) clean 



